package db_modle

type Card struct {
	Id        uint   `json:"id" gorm:"PRIMARY_KEY"`
	UserId    uint   `json:"user_id"`
	CardId    string `json:"card_id"`
	CreatedAt string `json:"created_at" gorm:"type:tinyint(1);NOT NULL`
	UpdatedAt string `json:"updated_at" gorm:"type:tinyint(1);NOT NULL`
	DeleteAt  string `json:"delete_at" gorm:"type:tinyint(1);NOT NULL`
}

func (Card) TableName() string {
	return "card"
}
